#pragma once
#include "cocos2d.h"
class SpriteBlood:public cocos2d::CCSprite
{
public:
	SpriteBlood(void);
	~SpriteBlood(void);
	void addBlood(int nBlood);
	static SpriteBlood *node();
private:
	bool init();
	void updateBlood();
	float getDistance();
	int nBlood_;
};
